import axios from '@/libs/axios'

//全员调拨列表
export const lendList = params => { return axios.post('api/op/lendList', params).then(res => res.data)};
//我的调拨列表
export const lendMyList = params => { return axios.post('api/op/lendMyList', params).then(res => res.data)};
//取消调拨
export const lendCancel = params => { return axios.post('api/op/lendCancel', params).then(res => res.data)};
//物流
export const lendLogistics = params => { return axios.post('api/op/lendLogistics', params).then(res => res.data)};
//详情
export const lendDetail = params => { return axios.post('api/op/lendDetail', params).then(res => res.data)};
//关闭借出计划
export const lendClose = params => { return axios.post('api/op/lendClose', params).then(res => res.data)};
//借赠还数量统计
export const lendStatistic = params => { return axios.post('api/op/lendStatistic', params).then(res => res.data)};
//确认归还所选
export const lendReturnOnly = params => { return axios.post('api/op/lendReturnOnly', params).then(res => res.data)};
//确认归还所选--系统处理
export const lendReturnSys = params => { return axios.post('api/op/lendReturnSys', params).then(res => res.data)};
//确认赠送转归还
export const lendReturnGive = params => { return axios.post('api/op/lendReturnGive', params).then(res => res.data)};
//确认借出转赠送
export const lendGiveLend = params => { return axios.post('api/op/lendGiveLend', params).then(res => res.data)};
//确认借出转赠送--系统处理
export const lendGiveLendSys = params => { return axios.post('api/op/lendGiveLendSys', params).then(res => res.data)};
//确认借出转内购
export const lendIpurchase = params => { return axios.post('api/op/lendIpurchase', params).then(res => res.data)};
//创建借出、赠送调拨计划
export const lendCreatePlan = params => { return axios.post('api/op/lendCreatePlan', params).then(res => res.data)};
//借出、赠送发起审批
export const lendApproval = params => { return axios.post('api/op/lendApproval', params).then(res => res.data)};
//预留解除
export const lendFree = params => { return axios.post('api/op/lendFree', params).then(res => res.data)};
//调拨转交
export const lendHandover = params => { return axios.post('api/op/lendHandover', params).then(res => res.data)};
//审批进度
export const lendApprovalProcess = params => { return axios.post('api/op/lendApprovalProcess', params).then(res => res.data)};
//调拨推送
export const lendPush = params => { return axios.post('api/op/lendPush', params).then(res => res.data)};


//获取导出列表
export const lendExcelList = params => { return axios.post('api/op/lendExcelList', params).then(res => res.data)};
//导出任务缓存数据
export const lendExportCache = params => { return axios.post('api/op/lendExportCache', params).then(res => res.data)};
//导出数据
export const lendExportData = params => { return axios.post('api/op/lendExportData', params).then(res => res.data)};
